{php include template("admin/header");}

<!--main-->
<div class="midder">

{php include template("admin/menu");}

<div class="page">{$pageUrl}</div>

<table>
<tr class="old"><td width="100">ID</td><td>userid</td><td>商品标题</td><td>操作</td></tr>

{loop $arrGift $key $item}
<tr><td>{$item[giftid]}</td><td>{$item['userid']}</td><td><a target="_blank" href="{SITE_URL}index.php?app=gift&ac=show&id={$item['giftid']}">{php echo htmlspecialchars($item[title])}</a></td><td>


    <a target="_blank" href="{tsUrl('gift','edit',array('ts'=>'join','giftid'=>$item['giftid']))}">报名信息</a> |


<a href="{SITE_URL}index.php?app=gift&ac=admin&mg=gift&ts=isaudit&giftid={$item['giftid']}">
{if $item['isaudit']==1}
审核
{else}
取消审核
{/if}
</a>

 |

<a href="{SITE_URL}index.php?app=gift&ac=admin&mg=gift&ts=isrecommend&giftid={$item['giftid']}">
{if $item['isrecommend']==1}
取消推荐
{else}
推荐
{/if}
</a>

    |

<a href="{SITE_URL}index.php?app=gift&ac=admin&mg=gift&ts=delete&giftid={$item['giftid']}">
删除
</a>


</td></tr>
{/loop}

</table>

</div>

{php include template("admin/footer");}